package com.laicunba.pojo;

import java.math.BigDecimal;
import java.util.Date;

import org.springframework.stereotype.Component;

import com.laicunba.annotation.MyColumn;
import com.laicunba.annotation.MyTable;

@Component
@MyTable
public class FinancingTargetBidDO extends BaseDO {
	private String financingTargetId; // 标的ID
	private String bidUserId; // 投标用户
	private BigDecimal buyAmount; // 购买数量(元)
	private BigDecimal annualizedRates; // 年化利率 单位为 %,即 1表示 1%的收益
	private String certificateId; // 凭证编号,比如:富友订单ID
	@MyColumn(type = "bool DEFAULT false")
	private boolean isPay; // 是否已支付
	private String summary; // 备注
	private String payMark; // 支付信息摘要 ,注意 ACTIVITY 被视为活动
	@MyColumn(type = "bool DEFAULT false")
	private boolean isLockAmount; // 是否锁定标的数量

	private String payChannel;// 支付通道 fuiou:富友 , baofoo:宝付
	private String payName; // 支付者名字
	private String payPid; // 支付者身份证
	private String bankCardNo; // 支付者身行卡号
	private String bankNo; // 支付者银行代码
	private String bankName;// 银行的名字

	/**
	 * 应扣收益,当提现本金时,把提现本金应该产生的收益扣除累加起来
	 */
	@Deprecated
	private BigDecimal deductionProfit;// 应扣收益累计
	private BigDecimal withdrawProfit;// 提现收益
	private BigDecimal withdrawPrincipal;// 提现本金
	private Date beginProfit; // 开始计算收益时间
	private Date endProfit; // 结速计算收益时间
	private String type; // SCB :随存宝

	private Date payTime;// 支付时间
	private String withdrawType;// 提现类型
	private String channel;

	private Date reBeginProfit;// 重新开始计算收益的时间,随存宝,当取过本金后需要重算

	private BigDecimal cashCouponAmount;// 使用现金券金额

	private String cashCouponId;// 现金券ID

	@MyColumn(type = "bool DEFAULT false")
	private boolean isTransferCurrent;// 到期是否转活期

	private BigDecimal incrRate;// 加息券加息额度 
	private String rateIncrCouponId;// 加息券ID
	private BigDecimal expireSendProfit;//赠息
	private String seq;
	
	public void setSeq(String seq) {
		this.seq = seq;
	}
	public String getSeq() {
		return seq;
	}
	public void setExpireSendProfit(BigDecimal expireSendProfit) {
		this.expireSendProfit = expireSendProfit;
	}
	public BigDecimal getExpireSendProfit() {
		return expireSendProfit;
	}
	
	public BigDecimal getIncrRate() {
		return incrRate;
	}

	public String getRateIncrCouponId() {
		return rateIncrCouponId;
	}

	public void setIncrRate(BigDecimal incrRate) {
		this.incrRate = incrRate;
	}

	public void setRateIncrCouponId(String rateIncrCouponId) {
		this.rateIncrCouponId = rateIncrCouponId;
	}

	public void setCashCouponId(String cashCouponId) {
		this.cashCouponId = cashCouponId;
	}

	public String getCashCouponId() {
		return cashCouponId;
	}

	public void setCashCouponAmount(BigDecimal cashCouponAmount) {
		this.cashCouponAmount = cashCouponAmount;
	}

	public BigDecimal getCashCouponAmount() {
		return cashCouponAmount;
	}

	public void setReBeginProfit(Date reBeginProfit) {
		this.reBeginProfit = reBeginProfit;
	}

	public Date getReBeginProfit() {
		return reBeginProfit;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	public String getChannel() {
		return channel;
	}

	public String getWithdrawType() {
		return withdrawType;
	}

	public void setWithdrawType(String withdrawType) {
		this.withdrawType = withdrawType;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public Date getPayTime() {
		return payTime;
	}

	public void setDeductionProfit(BigDecimal deductionProfit) {
		this.deductionProfit = deductionProfit;
	}

	public BigDecimal getDeductionProfit() {
		return deductionProfit;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getType() {
		return type;
	}

	public void setAnnualizedRates(BigDecimal annualizedRates) {
		this.annualizedRates = annualizedRates;
	}

	public BigDecimal getAnnualizedRates() {
		return annualizedRates;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getBankName() {
		return bankName;
	}

	public String getFinancingTargetId() {
		return financingTargetId;
	}

	public String getBidUserId() {
		return bidUserId;
	}

	public BigDecimal getBuyAmount() {
		return buyAmount;
	}

	public String getCertificateId() {
		return certificateId;
	}

	public boolean isPay() {
		return isPay;
	}

	public String getSummary() {
		return summary;
	}

	public void setFinancingTargetId(String financingTargetId) {
		this.financingTargetId = financingTargetId;
	}

	public void setBidUserId(String bidUserId) {
		this.bidUserId = bidUserId;
	}

	public void setBuyAmount(BigDecimal buyAmount) {
		this.buyAmount = buyAmount;
	}

	public void setCertificateId(String certificateId) {
		this.certificateId = certificateId;
	}

	public void setPay(boolean isPay) {
		this.isPay = isPay;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public void setPayMark(String payMark) {
		this.payMark = payMark;
	}

	public String getPayMark() {
		return payMark;
	}

	public boolean isLockAmount() {
		return isLockAmount;
	}

	public void setLockAmount(boolean isLockAmount) {
		this.isLockAmount = isLockAmount;
	}

	public String getPayChannel() {
		return payChannel;
	}

	public String getPayName() {
		return payName;
	}

	public String getPayPid() {
		return payPid;
	}

	public String getBankCardNo() {
		return bankCardNo;
	}

	public String getBankNo() {
		return bankNo;
	}

	public void setPayChannel(String payChannel) {
		this.payChannel = payChannel;
	}

	public void setPayName(String payName) {
		this.payName = payName;
	}

	public void setPayPid(String payPid) {
		this.payPid = payPid;
	}

	public void setBankCardNo(String bankCardNo) {
		this.bankCardNo = bankCardNo;
	}

	public void setBankNo(String bankNo) {
		this.bankNo = bankNo;
	}

	public BigDecimal getWithdrawProfit() {
		return withdrawProfit;
	}

	public BigDecimal getWithdrawPrincipal() {
		return withdrawPrincipal;
	}

	public void setWithdrawProfit(BigDecimal withdrawProfit) {
		this.withdrawProfit = withdrawProfit;
	}

	public void setWithdrawPrincipal(BigDecimal withdrawPrincipal) {
		this.withdrawPrincipal = withdrawPrincipal;
	}

	public void setBeginProfit(Date beginProfit) {
		this.beginProfit = beginProfit;
	}

	public Date getBeginProfit() {
		return beginProfit;
	}

	public void setEndProfit(Date endProfit) {
		this.endProfit = endProfit;
	}

	public Date getEndProfit() {
		return endProfit;
	}

	public boolean isTransferCurrent() {
		return isTransferCurrent;
	}

	public void setTransferCurrent(boolean isTransferCurrent) {
		this.isTransferCurrent = isTransferCurrent;
	}
}
